package com.fyzk.activity.special;

import android.content.Context;
import android.content.Intent;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;

import com.fyzk.activity.special.virtual_lottery.VirtualBetDetailActivity;
import com.fyzk.activity.user.xiangxi.JCOrderDetailActivity;
import com.fyzk.activity.user.xiangxi.NumLotteryOrderDetailActivity;
import com.fyzk.activity.user.xiangxi.OldFootballOrderDetailActivity;
import com.fyzk.adapter.UserListAdapter;
import com.fyzk.bean.BetRecordResponse;
import com.fyzk.utils.IntentParamUtils;

import java.util.List;

/**
 * Created by fanxs11 on 17/1/11.
 */

public class VirtualHallAdapter extends UserListAdapter {

    public VirtualHallAdapter(Context context, List<BetRecordResponse.OrdersBean> infors) {
        super(context, infors);
    }

    /**
     * 订单详细页
     *
     * @param id
     * @param lotteryType
     */
    protected void toOrderDetail(final String id, String lotteryType) {
        Intent intent;
        intent = new Intent(context, VirtualBetDetailActivity.class);
        intent.putExtra(IntentParamUtils.BETDETAILID, id);
        context.startActivity(intent);
    }
}
